package com.zxx.ssm.mapper;

import com.zxx.ssm.dao.TeacherStudentClass;
import com.zxx.ssm.dao.TeacherStudentClassExample;
import java.util.Date;
import java.util.List;

import com.zxx.ssm.dao.core.BaseMapper;
import com.zxx.ssm.model.biz.StuClasstypeGroupBiz;
import com.zxx.ssm.model.biz.TeaClassCountBiz;
import com.zxx.ssm.model.biz.TeaClasstypeGroupBiz;
import com.zxx.ssm.model.biz.TeaStuClassBiz;
import org.apache.ibatis.annotations.Param;

public interface TeacherStudentClassMapper extends BaseMapper<TeacherStudentClass, TeacherStudentClassExample, Integer>{
    List<TeaStuClassBiz> getAll(@Param("firstDay") Date firstDay, @Param("lastDay") Date lastDay);

    List<TeaClasstypeGroupBiz> getTeaClassCount(@Param("teaId") Integer teaId);

    List<TeaStuClassBiz> getAllTeacherClass(@Param("firstDay") Date firstDay, @Param("lastDay") Date lastDay, @Param("teaId") Integer teaId);

    List<StuClasstypeGroupBiz> getStuClassCount(@Param("stuId") Integer stuId);

    List<TeaStuClassBiz> getAllStudentClass(@Param("firstDay") Date firstDay, @Param("lastDay") Date lastDay, @Param("stuId") Integer stuId);
}